import request from '@/utils/request'

export function listenterpriseBasic(query) {
  return request({
    url: '/enterpriseBasic/list',
    method: 'get',
    params: query
  })
}

export function createenterpriseBasic(data) {
  return request({
    url: '/enterpriseBasic/create',
    method: 'post',
    data
  })
}

export function readenterpriseBasic(data) {
  return request({
    url: '/enterpriseBasic/get/' + data.enterpriseId,
    method: 'get'
  })
}

export function updateenterpriseBasic(data) {
  return request({
    url: '/enterpriseBasic/update',
    method: 'post',
    data
  })
}

export function deleteenterpriseBasic(data) {
  return request({
    url: '/enterpriseBasic/delete/' + data.enterpriseId,
    method: 'delete'
  })
}

export function setStatus(data) {
  return request({
    url: '/enterpriseBasic/setStatus',
    method: 'post',
    data
  })
}


